package main

import "fmt"

func main() {
	scene := make(map[string]int)
	scene["route"] = 66
	scene["brazil"] = 4
	scene["china"] = 960
	for k, v := range scene {
		fmt.Println(k, v)
	}
	fmt.Println(scene)
	//scene := make(map[string]int)
	//// 准备map数据
	//scene["route"] = 66
	//scene["brazil"] = 4
	//scene["china"] = 960
	//// 声明一个切片保存map数据
	//var sceneList []string
	//// 将map数据遍历复制到切片中
	//for k := range scene {
	//	sceneList = append(sceneList, k)
	//}
	//// 对切片进行排序
	//sort.Strings(sceneList)
	//// 输出
	//fmt.Println(sceneList)
}
